package dataTree;

import java.util.ArrayList;
import java.util.List;

import dataNode.DataNodeDesc;

public class DataTreeNode {
	private List childNode = new ArrayList<>();
	private String title;
	private List<DataNodeDesc> DataMapNode = new ArrayList<>();
	public List<DataNodeDesc> getDataMapNode() {
		return DataMapNode;
	}
	public void setDataMapNode(List<DataNodeDesc> dataMapNode) {
		DataMapNode = dataMapNode;
	}
	
	public void addDataMapNode(DataNodeDesc dataMapNode) {
		DataMapNode.add(dataMapNode);
	}
	
	public List getChildNode() {
		return childNode;
	}
	public void setChildNode(List childNode) {
		this.childNode = childNode;
	}
	public void addChildNode(DataTreeNode childNode) {
		this.childNode.add(childNode);
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public DataTreeNode(String title) {
		super();
		this.title = title;
	}
	
}
